
		<form class="frm1" id="form" action="<?php echo base_url($lang_url).(empty($lang_url) ? '' : '/'); ?>panel/<?php echo $controller.$method.$id; ?>" method="POST" enctype="multipart/form-data">
			<?php if(isset($list)){ ?>
				<p>
					<select name="season" class="select">
							<option>-- Seleccionar Temporada --</option>
						<?php foreach ($list as $itm) { ?>
							<option value="<?php echo $itm['id'];?>" <?php echo ($itm['id']==$id_season)? 'selected' : '' ; ?>><?php echo $title_serie.' - Temporada '.$itm['titulo'] ?></option>
						<?php } ?>
					</select>
				</p>
			<?php } ?>
			<p>
				<label for="title"><?php echo lang('txt_series_form_title'); ?></label>
				<input type="text" id="title" class="size80" name="title" value="<?php echo $title;?>" placeholder="<?php echo lang('txt_series_form_title'); ?>" maxlength="100"/>
			</p>
			
			<p class="small">
				<label for="no_episode"><?php echo lang('txt_serie_form_search_episode'); ?></label>
				<input type="text" id="no_episode" class="sizeSmall" name="no_episode" value="<?php echo $no_episode;?>" placeholder="<?php echo '# '.lang('txt_serie_form_search_episode'); ?>" maxlength="2"/>
			</p>
			<p class="small margin-l">
				<label for="languaje"><?php echo lang('txt_films_form_languaje'); ?></label>
				<input type="text" id="languaje" class="sizeSmall" name="languaje" value="<?php echo $languaje;?>" placeholder="<?php echo lang('txt_films_form_languaje'); ?>" maxlength="20"/>
			</p>
			<p class="small margin-l">
				<label for="subtitles"><?php echo lang('txt_films_form_subtitle'); ?></label>
				<input type="text" id="subtitles" class="sizeSmall" name="subtitles" value="<?php echo $subtitles;?>" placeholder="<?php echo lang('txt_films_form_subtitle'); ?>" maxlength="20"/>
			</p>
			<p class="small margin-l">
				<label for="format_episode"><?php echo lang('txt_films_form_format_film'); ?></label>
				<input type="text" id="format_episode" class="sizeSmall" name="format_episode" value="<?php echo $format_episode;?>" placeholder="<?php echo lang('txt_films_form_format_film'); ?>" maxlength="10"/>
			</p>
			<div class="clear"></div>
			<p class="small">
				<label for="quality"><?php echo lang('txt_films_form_quality'); ?></label>
				<input type="text" id="quality" class="sizeSmall" name="quality" value="<?php echo $quality;?>" placeholder="<?php echo lang('txt_films_form_quality'); ?>" maxlength="25"/>
			</p>
			<p class="small margin-l">
				<label for="duration"><?php echo lang('txt_films_form_duration'); ?></label>
				<input type="text" id="duration" class="sizeSmall" name="duration" value="<?php echo $duration;?>" placeholder="<?php echo lang('txt_films_form_duration'); ?>" maxlength="30"/>
			</p>
		 	
		 	<p class="small margin-l">
				<label for="size"><?php echo lang('txt_films_form_size'); ?></label>
				<input type="text" id="size" class="sizeSmall" name="size" value="<?php echo $size;?>" placeholder="<?php echo lang('txt_films_form_size'); ?>" maxlength="20"/>
			</p>
			<div class="clear"></div>
			
			<p>
				<label for="screenshots"><?php echo lang('txt_films_form_screenshots'); ?></label>
				<input type="text" class="size80" name="screenshots" value="" placeholder="<?php echo 'URL '.lang('txt_films_form_screenshots'); ?>" maxlength="100"/>
				<input type="file" name="screenshots" value="" />
			</p>
			<!-- SINOPSIS -->
			<p>
				<label for="sinopsis_spa"><?php echo lang('txt_series_form_synopsis_spa'); ?></label>
				<textarea name="sinopsis_spa" id="sinopsis_spa" rows="5" cols="68" placeholder="<?php echo lang('txt_series_form_synopsis_spa'); ?>"><?php echo $sinopsis_spa;?></textarea>
			</p>
			<p>
				<label for="sinopsis_eng"><?php echo lang('txt_series_form_synopsis_eng'); ?></label>
				<textarea name="sinopsis_eng" id="sinopsis_eng" rows="5" cols="68" placeholder="<?php echo lang('txt_series_form_synopsis_eng'); ?>"><?php echo $sinopsis_eng;?></textarea>
			</p>
			
			<div class="clear"></div>
			<!-- SERVERS/URLs -->
			<p>
				<fieldset class="fs-size-big float-l">
					<legend><?php echo lang('txt_films_form_servers_urls'); ?></legend>
					<div>
						<p>
							<div class="buttons float-r">
								<a href="javascript:void(0);" class="button delete" id="btn-del-servs-urls">del</a>
								<a href="javascript:void(0);" class="button add" id="btn-add-servs-urls">add</a>
							</div>
							<select name="sel-servers" class="select float-r" id="sel-servs">
								<?php foreach ($servers as $itm) { ?>
									<option value="<?php echo $itm['id_servidor'] ?>"><?php echo $itm['nombre'] ?></option>
								<?php } ?>
							</select>
							
							<div class="clear"></div>
						</p>
						<div id="servs-urls">
							<?php if(isset($servers_episode)){	
									foreach ($servers_episode as $itm) {?>
										<p>
											<label class="float-l"><input type="checkbox" id="chkd_serv" name="servers[]" value="<?php echo $itm['id']; ?>" checked/><?php echo $itm['name']; ?></label>
											<select name="online[]" class="select float-r" id="sel-servs">
												<option value=""> Online ??? </option>
												<option value="1" <?php echo ($itm['online']==1) ? 'selected' : '' ; ?>>Si</option>
												<option value="0" <?php echo ($itm['online']==0) ? 'selected' : '' ; ?>>No</option>
											</select>
											<input type="text" class="size90" name="sources[]" value="<?php echo $itm['origen']; ?>" placeholder="URL" maxlength="100"/>
										</p>
							<?php }} ?>
						</div><div class="clear"></div>					
					</div>		 
				</fieldset>
			</p>
					
			<div class="clear"></div>